CozyBlock\RestApi\Controllers\V1\BlockController S

Total Complexity 29
Dependencies 4
Dependents 0
Total lines 396
Lines of code 318
Logical lines of code 111
Comment lines 25
Methods 9
Properties 0

Methods 9

Method Rating Maintainability Complexity Lines of code
cozy_get_posts_collection()
A
36 8 89
register_routes()
S
42 2 77
cozy_get_sticky_posts()
S
47 4 37
get_popular_comments()
S
49 4 31
get_popular_tags()
S
54 4 22
get_post_categories()
S
55 3 20
get_related_posts()
S
51 2 30
get_post_views()
S
70 1 6
get_post_comments()
S
71 1 6